#ifndef WIDGET_ASSIST_WEATHER_PAINTER_H
#define WIDGET_ASSIST_WEATHER_PAINTER_H

#include <QWidget>
#include <QLabel>
#include <QPainter>
#include <QPen>
#include <QPoint>

class Widget_assist_weather_painter : public QLabel
{
    Q_OBJECT
public:
    explicit Widget_assist_weather_painter(QWidget *parent = nullptr);

public:
    int data_val_high[7] = {0}; // 高温度存储的数组
    int data_val_low[7] = {0}; // 低温度存储的数组
    int data_mean = 0;     // 平均值
    QPoint * point;        // 点坐标

protected:
    // 绘画事件
    void paintEvent(QPaintEvent *event);

signals:

};

#endif // WIDGET_ASSIST_WEATHER_PAINTER_H
